﻿using System;
using System.Drawing;

using SharedGenomics.Core;

namespace SharedGenomics.Workbench.Views
{
    public class NavigationCompletedEventArgs : EventArgs
    {
        public NavigationCompletedEventArgs(Image pageImage, Uri uri, string documentTitle)
        {
            pageImage.ThrowIfNull("pageImage");
            uri.ThrowIfNull("uri");

            this.PageImage = pageImage;
            this.Uri = uri;
            this.DocumentTitle = documentTitle;
        }

        public Image PageImage { get; private set; }
        public Uri Uri { get; private set; }
        public string DocumentTitle { get; private set; }
    }
}
